package demo;

import java.io.IOException;
import java.math.BigDecimal;
import java.math.BigInteger;
 
public class convertLL2MC {
 
	private int[] LLBAND = { 75, 60, 45, 30, 15, 0 };
	private String[][] LL2MC = {
			{"-0.0015702102444","111320.7020616939","1704480524535203","-10338987376042340","26112667856603880","-35149669176653700","26595700718403920","-10725012454188240","1800819912950474","82.5"},
			{"0.0008277824516172526","111320.7020463578","647795574.6671607","-4082003173.641316","10774905663.51142","-15171875531.51559","12053065338.62167","-5124939663.577472","913311935.9512032","67.5"},
			{"0.00337398766765","111320.7020202162","4481351.045890365","-23393751.19931662","79682215.47186455","-115964993.2797253","97236711.15602145","-43661946.33752821","8477230.501135234","52.5"},
			{"0.00220636496208","111320.7020209128","51751.86112841131","3796837.749470245","992013.7397791013","-1221952.21711287","1340652.697009075","-620943.6990984312","144416.9293806241","37.5"},
			{"-0.0003441963504368392","111320.7020576856","278.2353980772752","2485758.690035394","6070.750963243378","54821.18345352118","9540.606633304236","-2710.55326746645","1405.483844121726","22.5"},
			{"-0.0003218135878613132","111320.7020701615","0.00369383431289","823725.6402795718","0.46104986909093","2351.343141331292","1.58060784298199","8.77738589078284","0.37238884252424","7.45"}
	};
	
	private double getRange(double cn,int cm,int T){
		double temp = 0;
		if (cm != 0) {
			temp = Math.max(cn, cm);
		}
		if (T != 0) {
			temp = Math.min(cn, T);
		}
		return temp;
	}
	
	private double getLoop(double cn,int cm,int T){
		double temp = 0;
		while (cn > T) {
			temp -= T - cm;
		}
		while (cn < cm) {
			temp += T - cm;
		}
		return temp;
	}
	
/*	private void convertLL2MC(double lng, double lat){
		 var cm, co;
         double templng = this.getLoop(lng, -180, 180);
         double templat = this.getRange(lat, -74, 74);
         cm = new bR(T.lng, T.lat);
         for ( var cn = 0; cn < this.LLBAND.length; cn++) {
             if (cm.lat >= this.LLBAND[cn]) {
                 co = this.LL2MC[cn];
                 break
             }
         }
         if (!co) {
             for ( var cn = this.LLBAND.length - 1; cn >= 0; cn--) {
                 if (cm.lat <= -this.LLBAND[cn]) {
                     co = this.LL2MC[cn];
                     break
                 }
             }
         }
	}*/
	
    public static void main(String[] args) throws IOException {
       // testPost("12958175", "4825923.77");
    	String aa ="-0.0003218135878613132, 111320.7020701615, 0.00369383431289, 823725.6402795718, 0.46104986909093, 2351.343141331292,1.58060784298199, 8.77738589078284, 0.37238884252424, 7.45";
    
    	String[] aaa = aa.split(",");
    	for (int i = 0; i < aaa.length; i++) {
			System.out.print("\""+aaa[i].trim() + "\",");
		}
    	/*BigDecimal aasss = new BigDecimal("-1704480524535203");
    	System.out.println(aasss.multiply(new BigDecimal(2)));*/
    }
}
